package b2.widget
{
	import b2.util.*;
	
	import com.bit101.components.*;
	import com.bit101.components.Label;
	
	import flash.display.Sprite;
	import flash.events.*;
	import flash.external.*;

	public class AuthenMessage extends Sprite
	{
		public function AuthenMessage()
		{
			super();
			Style.embedFonts = false;
			Style.fontName = "微软雅黑";
			Style.fontSize = 14;
			new com.bit101.components.Label(this, 40, 0, "您尚未授权我们的游戏！");
//			new PushButton(this, 100, 30, "确定", redirectToWelcomePage);
//			new com.bit101.components.Label(this, 70, 50, "或者手动登陆进行授权");
//			new com.bit101.components.Label(this, 0, 70, Profile.RR_WELCOME_PAGE);
		}
		
//		private function redirectToWelcomePage(event:MouseEvent):void
//		{
//			ExternalInterface.call("window.open", Profile.RR_WELCOME_PAGE, "_parent");
//		}
		
	}
}